<!DOCTYPE html>
<html>
<head>
    <meta content="width=device-width,initial-scale=1" name="viewport" charset="utf-8">
    <title>炉温控制</title>
    <script src="www/zpf_libs/jquery-1.11.3.min.js"></script>
</head>
<body>
<h1>正在在努力加载中。。。。</h1>
<script>
    onload = () => {
        $.ajax({
            url: '/api/remote/', success: function (result) {
                document.write(result);
            },
            error: function (xhr, status, error) {
                alert(error)
                $('h1:first').text('获取数据失败，刷新网页或检查窑炉状态！')
            }
        });
    }
</script>
</body>
</html>
